addpath build\Debug\
info=daqAdapterMex(1, 100,{'PXI1Slot2/ai0:79','PXI1Slot3/ai0:79'},{'PXI1Slot4/ao0:31','PXI1Slot5/ao0:31','PXI1Slot6/ao0:31'})
loopCount=100;
tic
for i=1:loopCount
	data=daqAdapterMex(2);
	daqAdapterMex(3, 5*ones(info.numChanOut,1));
end
daqAdapterMex(0);
timePerLoop = toc/loopCount

clear all %this release the mex file
